import { readFileSync } from "fs";
interface conf{
    mode:string
    logPath:string
    errLogPath:string
    instanceNum:number
    reqTopic:string
    respTopic:string
    brokerList:string
    logType:string
}
const confFilePath="./conf/conf.json"
function parseConf():conf{
    let rowData=readFileSync(confFilePath)
    return JSON.parse(rowData.toString())
}
export {parseConf,conf}